import React from 'react'
import ReactDOM from 'react-dom/client'
// import router from '../src/view/route'
// import routes from '../src/view/route'
// import App from './App'
import LayoutBox from './Layout';
import 'antd/dist/reset.css';
import './index.scss'
import { history } from "@/utils/history"

import { unstable_HistoryRouter as Router } from 'react-router-dom'

ReactDOM.createRoot(document.getElementById('root')).render(
  <React.StrictMode>
    {/* <RouterProvider router={router} /> */}
    <Router history={history}>
      <LayoutBox />
    </Router>
  </React.StrictMode>,
)
